<!DOCTYPE html>
<html lang="en">
    <?php $this->load->view('templates/header', array('title' => $title)); ?>
    <body>
        <?php $this->load->view('templates/banner') ?>
        <?php $this->load->view('templates/menu'); ?>
        <div class="container" style="padding: 0px;">
            <div class="part_content" >
                <?php $this->load->view('blocks/slideshow');?>
                <div class="row marquee">
                    
                </div>
                <div class="row row-offcanvas row-offcanvas-right" >
                    <div class="col-md-12 part_content-child">
                        <div class="col-md-9 col-left">
                            <div class="content" style="background: #fff; box-shadow: 0px 0px 3px #ccc; padding:5px 5px 5px 7px;">
                                <?php
                                switch ($controller) {
                                    case 'pages':
                                        switch ($action) {
                                            case 'info':
                                                $this->load->view('pages/info');
                                                break;
                                            case 'index':
                                                $this->load->view('pages/index');
                                                break;
                                            case 'detail_products':
                                                $this->load->view('pages/detail_products');
                                                break;
                                           case 'products_categories':
                                               $this->load->view('pages/products_categories');
                                                break;
                                            case 'news':
                                                    $this->load->view('pages/news');
                                                break;
                                            case 'detail_news':
                                                    $this->load->view('pages/detail_news');
                                                break;
                                            case 'contact':
                                                $this->load->view('pages/contact');
                                                break;
                                        }
                                }
                                ?>
                            </div>
                        </div>

                        <div class="col-md-3 sidebar-offcanvas col-right" id="sidebar" role="navigation">
                            <?php $this->load->view('blocks/sidebar'); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
         <?php $this->load->view('templates/footer'); ?>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <script src="<?php echo base_url() ?>public/js/bootstrap.min.js"></script>
    </body>
</html>

